<!doctype html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Bootstrap demo</title>
  <!-- 引入CSS -->
  <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
</head>

<body>
  <div class="container mt-3">
    <h2>多种颜色的进度条</h2>
    <p>Bootstrap5 提供了以下几种进度条颜色:</p>
    <div class="progress">
      <div class="progress-bar" style="width:30%"></div>
    </div>
    <br>
    <div class="progress">
      <div class="progress-bar bg-success" style="width:40%"></div>
    </div>
    <br>
    <div class="progress">
      <div class="progress-bar bg-info" style="width:50%"></div>
    </div>
    <br>
    <div class="progress">
      <div class="progress-bar bg-warning" style="width:60%"></div>
    </div>
    <br>
    <div class="progress">
      <div class="progress-bar bg-danger" style="width:70%"></div>
    </div>
  </div>

  <!-- 引入JS -->
  <script src="bootstrap-5.2.3-dist/js/bootstrap.min.js"></script>
</body>

</html>